﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 现金银行收款单DTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CMRcvBillAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CMRcvBillAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		
		
		
					AccMoney=0m; 
		
		
		
		
		
					RcvObjType= -1; 
							RcvMoney=0m; 
		
		
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        	        			if (this.FC != null) 
			{
				this.FC.DoSerializeKeyList(dict);
			}
	        			if (this.DocumentType != null) 
			{
				this.DocumentType.DoSerializeKeyList(dict);
			}
	        	        			if (this.Dept != null) 
			{
				this.Dept.DoSerializeKeyList(dict);
			}
	        			if (this.BusinessMan != null) 
			{
				this.BusinessMan.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.AccCurrency != null) 
			{
				this.AccCurrency.DoSerializeKeyList(dict);
			}
	        			if (this.SettleMethod != null) 
			{
				this.SettleMethod.DoSerializeKeyList(dict);
			}
	        			if (this.RcvBank != null) 
			{
				this.RcvBank.DoSerializeKeyList(dict);
			}
	        			if (this.RcvBankAcc != null) 
			{
				this.RcvBankAcc.DoSerializeKeyList(dict);
			}
	        			if (this.Project != null) 
			{
				this.Project.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.RcvCurrency != null) 
			{
				this.RcvCurrency.DoSerializeKeyList(dict);
			}
	        	        	        	        			if (this.SupplierSite != null) 
			{
				this.SupplierSite.DoSerializeKeyList(dict);
			}
	        			if (this.CustomerSite != null) 
			{
				this.CustomerSite.DoSerializeKeyList(dict);
			}
	        			if (this.Receiver != null) 
			{
				this.Receiver.DoSerializeKeyList(dict);
			}
	        			if (this.CashAccount != null) 
			{
				this.CashAccount.DoSerializeKeyList(dict);
			}
	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CMRcvBillAITDTOData(  ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , System.String memo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData fC  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData documentType  , System.String docNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData dept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData businessMan  , System.String businessDate  , System.Decimal accMoney  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData accCurrency  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData settleMethod  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData rcvBank  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData rcvBankAcc  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData project  , System.Int32 rcvObjType  , System.Decimal rcvMoney  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData rcvCurrency  , System.String payBankAcc  , System.String payBank  , System.String payAccName  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData supplierSite  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData customerSite  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData receiver  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData cashAccount  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  )
		{
			initData();
			this.Org = org;
			this.Memo = memo;
			this.FC = fC;
			this.DocumentType = documentType;
			this.DocNo = docNo;
			this.Dept = dept;
			this.BusinessMan = businessMan;
			this.BusinessDate = businessDate;
			this.AccMoney = accMoney;
			this.AccCurrency = accCurrency;
			this.SettleMethod = settleMethod;
			this.RcvBank = rcvBank;
			this.RcvBankAcc = rcvBankAcc;
			this.Project = project;
			this.RcvObjType = rcvObjType;
			this.RcvMoney = rcvMoney;
			this.RcvCurrency = rcvCurrency;
			this.PayBankAcc = payBankAcc;
			this.PayBank = payBank;
			this.PayAccName = payAccName;
			this.SupplierSite = supplierSite;
			this.CustomerSite = customerSite;
			this.Receiver = receiver;
			this.CashAccount = cashAccount;
			this.DescFlexField = descFlexField;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 组织
		/// 现金银行收款单DTO.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 现金银行收款单DTO.Misc.备注
		/// </summary>
		private System.String m_memo ;
		[DataMember(IsRequired=false)]
		public System.String Memo
		{
			get	
			{	
				return m_memo ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
			
		

		/// <summary>
		/// 本币
		/// 现金银行收款单DTO.Misc.本币
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_fC ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData FC
		{
			get	
			{	
				return m_fC ;
			}
			set	
			{	
				m_fC = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据类型
		/// 现金银行收款单DTO.Misc.单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_documentType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData DocumentType
		{
			get	
			{	
				return m_documentType ;
			}
			set	
			{	
				m_documentType = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 现金银行收款单DTO.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 部门
		/// 现金银行收款单DTO.Misc.部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_dept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Dept
		{
			get	
			{	
				return m_dept ;
			}
			set	
			{	
				m_dept = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务员
		/// 现金银行收款单DTO.Misc.业务员
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_businessMan ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData BusinessMan
		{
			get	
			{	
				return m_businessMan ;
			}
			set	
			{	
				m_businessMan = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务日期
		/// 现金银行收款单DTO.Misc.业务日期
		/// </summary>
		private System.String m_businessDate ;
		[DataMember(IsRequired=false)]
		public System.String BusinessDate
		{
			get	
			{	
				return m_businessDate ;
			}
			set	
			{	
				m_businessDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 付款账号金额
		/// 现金银行收款单DTO.Misc.付款账号金额
		/// </summary>
		private System.Decimal m_accMoney ;
		[DataMember(IsRequired=false)]
		public System.Decimal AccMoney
		{
			get	
			{	
				return m_accMoney ;
			}
			set	
			{	
				m_accMoney = value ;	
			}
		}
			
		

		/// <summary>
		/// 付款账号币种
		/// 现金银行收款单DTO.Misc.付款账号币种
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_accCurrency ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AccCurrency
		{
			get	
			{	
				return m_accCurrency ;
			}
			set	
			{	
				m_accCurrency = value ;	
			}
		}
			
		

		/// <summary>
		/// 结算方式
		/// 现金银行收款单DTO.Misc.结算方式
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_settleMethod ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SettleMethod
		{
			get	
			{	
				return m_settleMethod ;
			}
			set	
			{	
				m_settleMethod = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款银行
		/// 现金银行收款单DTO.Misc.收款银行
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_rcvBank ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RcvBank
		{
			get	
			{	
				return m_rcvBank ;
			}
			set	
			{	
				m_rcvBank = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款银行账号
		/// 现金银行收款单DTO.Misc.收款银行账号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_rcvBankAcc ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RcvBankAcc
		{
			get	
			{	
				return m_rcvBankAcc ;
			}
			set	
			{	
				m_rcvBankAcc = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目
		/// 现金银行收款单DTO.Misc.项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_project ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Project
		{
			get	
			{	
				return m_project ;
			}
			set	
			{	
				m_project = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款对象类型
		/// 现金银行收款单DTO.Misc.收款对象类型
		/// </summary>
		private System.Int32 m_rcvObjType ;
		[DataMember(IsRequired=false)]
		public System.Int32 RcvObjType
		{
			get	
			{	
				return m_rcvObjType ;
			}
			set	
			{	
				m_rcvObjType = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款金额
		/// 现金银行收款单DTO.Misc.收款金额
		/// </summary>
		private System.Decimal m_rcvMoney ;
		[DataMember(IsRequired=false)]
		public System.Decimal RcvMoney
		{
			get	
			{	
				return m_rcvMoney ;
			}
			set	
			{	
				m_rcvMoney = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款币种
		/// 现金银行收款单DTO.Misc.收款币种
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_rcvCurrency ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RcvCurrency
		{
			get	
			{	
				return m_rcvCurrency ;
			}
			set	
			{	
				m_rcvCurrency = value ;	
			}
		}
			
		

		/// <summary>
		/// 付款银行账号
		/// 现金银行收款单DTO.Misc.付款银行账号
		/// </summary>
		private System.String m_payBankAcc ;
		[DataMember(IsRequired=false)]
		public System.String PayBankAcc
		{
			get	
			{	
				return m_payBankAcc ;
			}
			set	
			{	
				m_payBankAcc = value ;	
			}
		}
			
		

		/// <summary>
		/// 付款银行
		/// 现金银行收款单DTO.Misc.付款银行
		/// </summary>
		private System.String m_payBank ;
		[DataMember(IsRequired=false)]
		public System.String PayBank
		{
			get	
			{	
				return m_payBank ;
			}
			set	
			{	
				m_payBank = value ;	
			}
		}
			
		

		/// <summary>
		/// 付款账号名称
		/// 现金银行收款单DTO.Misc.付款账号名称
		/// </summary>
		private System.String m_payAccName ;
		[DataMember(IsRequired=false)]
		public System.String PayAccName
		{
			get	
			{	
				return m_payAccName ;
			}
			set	
			{	
				m_payAccName = value ;	
			}
		}
			
		

		/// <summary>
		/// 供应商位置
		/// 现金银行收款单DTO.Misc.供应商位置
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_supplierSite ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SupplierSite
		{
			get	
			{	
				return m_supplierSite ;
			}
			set	
			{	
				m_supplierSite = value ;	
			}
		}
			
		

		/// <summary>
		/// 客户位置
		/// 现金银行收款单DTO.Misc.客户位置
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_customerSite ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CustomerSite
		{
			get	
			{	
				return m_customerSite ;
			}
			set	
			{	
				m_customerSite = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款员
		/// 现金银行收款单DTO.Misc.收款员
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_receiver ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Receiver
		{
			get	
			{	
				return m_receiver ;
			}
			set	
			{	
				m_receiver = value ;	
			}
		}
			
		

		/// <summary>
		/// 现金账号
		/// 现金银行收款单DTO.Misc.现金账号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_cashAccount ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CashAccount
		{
			get	
			{	
				return m_cashAccount ;
			}
			set	
			{	
				m_cashAccount = value ;	
			}
		}
			
		

		/// <summary>
		/// 扩展字段
		/// 现金银行收款单DTO.Misc.扩展字段
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																																		
		#endregion 
	} 	
}
